﻿using Microsoft.EntityFrameworkCore;
using SC.GridManage.Domain.Models;

namespace SC.GirdManage.Repository
{
    /// <summary>
    /// 数据库上下文
    /// </summary>
    public class GMDbContext : DbContext
    {
        public GMDbContext(DbContextOptions options) : base(options)
        {
        }
        ///// <summary>
        ///// 物理网格数据集
        ///// </summary>
        //public DbSet<PhysicalGridModel> PhysicalGridModels { get; set; }
        ///// <summary>
        ///// 逻辑网格数据集
        ///// </summary>
        //public DbSet<LogicGridModel> LogicGridModels { get; set; }       

        ///// <summary>
        ///// 部门数据集
        ///// </summary>
        //public DbSet<DepartmentsModel> DepartmentsModels { get; set; }
        //public DbSet<UnitGridModel> UnitGridModels { get; set; }
        public DbSet<ArticalModel> ArticalModels { get; set; }
        public DbSet<ArticalUserModel> ArticalUserModels { get; set; }
        public DbSet<ArticalTypeModel> ArticalTypeModels { get; set; }
        public DbSet<ArticalStatusModel> ArticalStatusModels { get; set; }
        public DbSet<ArticalDepartModel> ArticalDepartModels { get; set; }
          
    }
}
